<?php $this->load->view('admin/_header1') ?>

<table width=100% height=100% >
	<tr height=10% valign=top ><td style="background:#D2E0F2">
	<?
	echo form_open("admin/operation/querycustomer",array("id" => "formcustomer","target" =>"query_context"));
	?>
	<table >
		<tr height=32 >
			<td width=120 align=right >User name:</td>
			<td width=200 ><input type="text" name="username" class="txd" /></td>
			<td width=120 align=right >Register Date:</td>
			<td width=200 ><input type="text" name="registerDate1" class="txdatec" />
			<input type="text" name="registerDate2" class="txdatec" /></td>
			<td  align=left ><input type="submit" name="bbb" value="Search" />
				<input type="button" name="bbb" onclick="window.open('addcustomer','twinadd','width=800,height=450');" value="Add" />
			</td>
		</tr>
		
		<tr height=32>
			<td width=120 align=right >Tel:</td>
			<td><input type="text" name="tel" class="txd" /></td>
			<td width=120 align=right>Address:</td>
			<td><input type="text" name="address" class="txd" /></td>
		</tr>
	</table>
	<?
	echo form_close();
	?>
	
	</td></tr>
	
	<tr height=89% valign=top ><td>
		<iframe name=query_context width=100% height=100% frameborder=0></iframe>
	</td></tr>
</table>

<script language="javascript">
	document.body.scroll="no";
	
	$(document).ready(function () {		
		$('.txdatec').datepick({monthsToShow:2});
		
	});
</script>

<?php $this->load->view('admin/_footer1') ?>